#pragma once

#include <cstdint>
#include <vector>

class Ranges {
public:
    void AddRange(uint32_t start, uint32_t end);
    bool Has(uint32_t codepoint);
    void Dump(const char *prefix);

private:
    struct Range {
        uint32_t start;
        uint32_t end;
    };

    std::vector<struct Range> ranges;
};
